//
//  EasyBuy.h
//  EasyBuy
//
//  Created by Zhu Xiangjun on 9/30/12.
//  Copyright (c) 2012 shen donghao. All rights reserved.
//


#define kSinaWeiboAppKey       @"1539770668"//386186857
#define kSinaWeiboAppSecret    @"3bf3a490992a58377b779802e2ddab8d"//d4d98bf293df60bdcabfdc806a50d75b
#define SinaWeiboAuthorizeURL  @"https://api.weibo.com/oauth2/authorize"

#define kWBURLSchemePrefix              @"WB_"

#define kWBRequestTimeOutInterval   180.0

#define kWBKeychainServiceNameSuffix    @"_WeiBoServiceName"
#define kWBKeychainUserID               @"WeiBoUserID"
#define kWBKeychainAccessToken          @"WeiBoAccessToken"
#define kWBKeychainExpireTime           @"WeiBoExpireTime"

#define kWBSDKErrorDomain           @"WeiBoSDKErrorDomain"
#define kWBSDKErrorCodeKey          @"WeiBoSDKErrorCodeKey"

#define kWBSDKAPIDomain             @"https://api.weibo.com/2/"
#define kWBSDKUploadAPIDomain   @"https://upload.api.weibo.com/2/"

#define kWBAuthorizeURL             @"https://api.weibo.com/oauth2/authorize"
#define kWBAccessTokenURL           @"https://api.weibo.com/oauth2/access_token"

#define kWBRequestStringBoundary    @"293iosfksdfkiowjksdf31jsiuwq003s02dsaffafass3qw"

#define kLoginRequestIdentifier     @"kLoginRequestIdentifier"



#define RECEIVER_HOME_VIEWCONTROLLER @"RECEIVER_CATEGORY"
#define RECEIVER_HOME_FOCUS          @"RECEIVER_HOME_FOCUS"
#define RECEIVER_HOME_RECOMMEND      @"RECEIVER_HOME_RECOMMEND"
#define RECEIVER_CATEGORY            @"RECEIVER_CATEGORY"
#define RECEIVER_OBJECT_DETAIL       @"RECEIVER_OBJECT_DETAIL"
#define RECEIVER_HOME_USERALLBUY      @"RECEIVER_USERALLBUY"

#define InterfaceDomain              @"http://91shitou.com/tsbJsonServlet?"
#define API_HOME_FOCUS               @"action=GetFocus"
#define API_HOME_RECOMMEND           @"action=GetRecommendList"
#define API_CATEGORY                 @"action=GetNavigationList"
#define API_OBJECT_DETAIL            @"action=GetThingsDetail"


